package org.example.util;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class ExceptionUtil {

    private static final Logger LOGGER = LoggerFactory.getLogger(ExceptionUtil.class);

    public static void throwRuntimeException(String msg){
        LOGGER.error(msg);
        throw new RuntimeException(msg);
    }
}
